package com.jt.demo11.mapper;

import com.jt.demo11.pojo.Animal;
import org.springframework.stereotype.Repository;

@Repository
public class AnimalMapperImpl implements AnimalMapper{

    @Override
    public void  hello(Animal animal) {
        System.out.println(animal.getName()+"今年"+animal.getAge()+"岁了");
    }
}
